package com.cskt.petproject178.service.impl;

import com.cskt.petproject178.mapper.ProductCategoryMapper;
import com.cskt.petproject178.pojo.vo.ProductCategoryLevel1VO;
import com.cskt.petproject178.service.ProductCategoryService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 **/
@Service
public class ProductCategoryServiceImpl implements ProductCategoryService {
    
    @Resource
    private ProductCategoryMapper productCategoryMapper;

    @Override
    public List<ProductCategoryLevel1VO> getProductCategory() {
        return productCategoryMapper.selectProductCategoryVO();
    }
}
